-- GENERATED SPELL FOR [Greater Fleshripper] --


function spell0_154(pUnit, Event) --@Muscle Tear,n/a--
pUnit:FullCastSpellOnTarget(12166,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_154', 5320, 1)
end

function Sorts_154(pUnit, Event)
local choix_sorts_154 = math.random(0, 0)
if choix_sorts_154 == 0 then
pUnit:RegisterEvent('spell0_154', 1, 1)
end
end

function mob154_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_154', math.random(1500, 3000), 1)
end

function mob154_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob154_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob154_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(154, 1, 'mob154_Action')
RegisterUnitEvent(154, 2, 'mob154_Leave')
RegisterUnitEvent(154, 3, 'mob154_Kill')
RegisterUnitEvent(154, 4, 'mob154_Die')
